<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>新增商品分类</h2>
    </div>
    <form action="{:U()}" method="post" enctype="multipart/form-data" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">标题</label>
            <div class="controls">
                <input type="text" class="text input-large" name="title" value="">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">转榨汁期</label>
            <div class="controls">
                <input type="text" class="text input-large" name="per2_time" value="{$data.per2_time}">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">处理期</label>
            <div class="controls">
                <input type="text" class="text input-large" name="per3_time" value="{$data.per3_time}">
            </div>
        </div>
        <div class="form-item">
            <button class="btn submit-btn" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);
                    return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Classify/index')}');
    </script>
</block>
